﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Taobao.Models
{
    public class BaseModel
    {
        public int code { get; set; }
        public object data { get; set; }
        public string msg { get; set; }
    }
    public class Shop
    {
        /// <summary>
        /// 店铺名字
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 卖家
        /// </summary>
        public string nick { get; set; }
        /// <summary>
        /// 店铺地址
        /// </summary>
        public string shopUrl { get; set; }
        /// <summary>
        /// 图标地址
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 在卖宝贝数量
        /// </summary>
        public string totalsold { get; set; }
        /// <summary>
        /// 已售宝贝数量
        /// </summary>
        public string procnt { get; set; }
        public List<auctionsInshop> auctionsInshop { get; set; }
        /// <summary>
        /// 好评率
        /// </summary>
        public string goodratePercent { get; set; }
    }

    public class auctionsInshop
    {
        
        public string shopurl { get; set; }
        /// <summary>
        /// 店铺内搜索地址
        /// </summary>
        public string searchUrl { get; set; }
        public string nid { get; set; }
        public string picUrl { get; set; }
        public string title { get; set; }
        public string price { get; set; }
        //商品地址
        public string url { get; set; }
        public string uid { get; set; }
    }

    public class UserInfo
    {
        public int userId { get; set; }
        public string userName { get; set; }
        public string shopName { get; set; }
    }
    /// <summary>
    /// 充值对象
    /// </summary>
    public class ChargeModel 
    {
        /// <summary>
        /// 钱
        /// </summary>
        public double Money { get; set; }
        /// <summary>
        /// 购买流量个数
        /// </summary>
        public double BuyTimes { get; set; }
        /// <summary>
        /// 赠送流量个数
        /// </summary>
        public int SendTimes { get; set; }
    }
    /// <summary>
    /// 浏览的url
    /// </summary>
    public class ScanModel
    {

        public int userId { get; set; }
        public string proUrl { get; set; }
    }
}